package com.wxx;


/**
 * @author: Jetwang
 * @date: 2022/3/27 21:15
 * @description: StackTest
 * @version: 1.0
 */
public class StackTest {
    public static void main(String[] args) {
        ArrayStack<Integer> stack = new ArrayStack<>();
        for (int i = 0; i < 5; i++) {
            stack.push(i);
            System.out.println(stack);
        }
        stack.pop();
        System.out.println(stack);
    }
}
